home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmCreateRadioBox.z / XmCreateRadioBox
Encoding:
Text File  |  2003-11-18  |  4.2 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmCCCCrrrreeeeaaaatttteeeeRRRRaaaaddddiiiiooooBBBBooooxxxx((((3333XXXX))))      UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV      XXXXmmmmCCCCrrrreeeeaaaatttteeeeRRRRaaaaddddiiiiooooBBBBooooxxxx((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_C_r_e_a_t_e_R_a_d_i_o_B_o_x - A RowColumn widget    convenience creation
  10.       function
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/RowColumn.h>
  14.  
  15.       Widget XmCreateRadioBox (ppppaaaarrrreeeennnntttt,,,, nnnnaaaammmmeeee,,,, aaaarrrrgggglllliiiisssstttt,,,, aaaarrrrggggccccoooouuuunnnntttt)
  16.            _W_i_d_g_e_t     ppppaaaarrrreeeennnntttt;
  17.            _S_t_r_i_n_g     nnnnaaaammmmeeee;
  18.            _A_r_g_L_i_s_t     aaaarrrrgggglllliiiisssstttt;
  19.            _C_a_r_d_i_n_a_l     aaaarrrrggggccccoooouuuunnnntttt;
  20.  
  21.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.       _X_m_C_r_e_a_t_e_R_a_d_i_o_B_o_x creates an instance of a RowColumn widget
  23.       of type _X_m_W_O_R_K__A_R_E_A and returns the associated widget    ID.
  24.       Typically, this is a composite widget    that contains multiple
  25.       ToggleButtonGadgets.    The RadioBox arbitrates    and ensures
  26.       that at most one ToggleButtonGadget is on at any time.
  27.  
  28.       Unless the application supplies other    values in the aaaarrrrgggglllliiiisssstttt,
  29.       this function    provides initial values    for several RowColumn
  30.       resources.  It initializes _X_m_N_p_a_c_k_i_n_g    to _X_m_P_A_C_K__C_O_L_U_M_N,
  31.       _X_m_N_r_a_d_i_o_B_e_h_a_v_i_o_r to True, _X_m_N_i_s_H_o_m_o_g_e_n_e_o_u_s to    True, and
  32.       _X_m_N_e_n_t_r_y_C_l_a_s_s    to _x_m_T_o_g_g_l_e_B_u_t_t_o_n_G_a_d_g_e_t_C_l_a_s_s.
  33.  
  34.       In a RadioBox    the ToggleButton or ToggleButtonGadget
  35.       resource _X_m_N_i_n_d_i_c_a_t_o_r_T_y_p_e defaults to    _X_m_O_N_E__O_F__M_A_N_Y, and the
  36.       ToggleButton or ToggleButtonGadget resource_X_m_N_v_i_s_i_b_l_e_W_h_e_n_O_f_f
  37.       defaults to True.
  38.  
  39.       This routine is provided as a    convenience function for
  40.       creating RowColumn widgets.
  41.  
  42.       ppppaaaarrrreeeennnntttt
  43.            Specifies the parent widget ID
  44.  
  45.       nnnnaaaammmmeeee Specifies the name of the created widget
  46.  
  47.       aaaarrrrgggglllliiiisssstttt
  48.            Specifies the argument list
  49.  
  50.       aaaarrrrggggccccoooouuuunnnntttt
  51.            Specifies the number of attribute/value pairs in    the
  52.            argument    list (aaaarrrrgggglllliiiisssstttt)
  53.  
  54.       For a    complete definition of RowColumn and its associated
  55.       resources, see _X_m_R_o_w_C_o_l_u_m_n(_3_X).
  56.  
  57.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  58.       Returns the RowColumn    widget ID.
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmCCCCrrrreeeeaaaatttteeeeRRRRaaaaddddiiiiooooBBBBooooxxxx((((3333XXXX))))      UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV      XXXXmmmmCCCCrrrreeeeaaaatttteeeeRRRRaaaaddddiiiiooooBBBBooooxxxx((((3333XXXX))))
  71.  
  72.  
  73.  
  74.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  75.       _X_m_C_r_e_a_t_e_R_o_w_C_o_l_u_m_n(_3_X), _X_m_C_r_e_a_t_e_S_i_m_p_l_e_C_h_e_c_k_B_o_x(_3_X),
  76.       _X_m_C_r_e_a_t_e_S_i_m_p_l_e_R_a_d_i_o_B_o_x(_3_X), _X_m_C_r_e_a_t_e_W_o_r_k_A_r_e_a(_3_X),
  77.       _X_m_R_o_w_C_o_l_u_m_n(_3_X), _X_m_V_a_C_r_e_a_t_e_S_i_m_p_l_e_C_h_e_c_k_B_o_x(_3_X), and
  78.       _X_m_V_a_C_r_e_a_t_e_S_i_m_p_l_e_R_a_d_i_o_B_o_x(_3_X).
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                        (printed 11/11/03)
  130.  
  131.  
  132.  
  133.